<%=stylesheet_link_tag('book_show')%>


  <div id="content">
  <%= render :partial => 'form' %>
  </div>
  
  <div id="content2">
  <%if !@book.pic_url||@book.pic_url.empty?%>
    此书暂无封面
  <%else%>
    封面: <p><%= image_tag @book.pic_url%></p>
  <%end%>
  </div>

  <div id="content3">
  <%if @book.out_record%>
    借阅人: <%=@book.out_record.reader.reader_name%><br>
    开始日期: <%=@book.out_record.date%><br>
    结束日期: <%=@book.out_record.return_date%><br>
  <%else%>
    此书暂时无人借阅  
  <%end%>
  </div>